package com.yx.fx.staff.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yx.fx.common.model.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 人类
 *
 * @author 杨智杰
 * @since 2021/9/10 13:58
 */
@Data
@TableName("demo_staff")
public class DemoStaff extends BaseEntity {

    /**
     * 姓名
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 入职时间
     */
    @TableField(value = "entry_time")
    @ApiModelProperty(value = "入职时间")
    private Date entryTime;

    /**
     * 所属部门
     */
    @TableField(value = "dept_id")
    @ApiModelProperty(value = "所属部门")
    private Long deptId;
}
